﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace FoxCommerce.MVC.Domain.Entities
{
    public partial class RelatedProduct
    {
        [Required, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        public int ParentProductID { get; set; }//?

        public int RProductID { get; set; }
        [ForeignKey("RProductID")]
        public virtual Product Product { get; set; }

        public int DisplayOrder { get; set; }
    }
}